<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.bootcss.com/howler/2.0.0/howler.js"></script>
<script>
function changetext(id)
{
var sound = new Howl({
  src: ['/static/music/song01.mp3']
}).play();
}
</script>
</head>
<body>
<h1 onclick="changetext(this)">请点击该文本</h1>
</body>
</html>